package com.dream.cms.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@Component
@ConfigurationProperties("custom")
public class KafkaTopicProperties implements Serializable {

    private String[] pages;

    private String topicName;

    private String groupId;

    private Integer messagesPerRequest;
}
